import Home from '@/views/Home';
import MainInfo from '@/views/Home/homeMainInfoSystem';
import RoomInfoManager from '@/views/Home/homeRoomInfoManger';
import History from '@/views/History';
import Login from '@/views/Login';
const routes = [
    {
        path: '/',
        name: 'Home',
        component: Home,
        children:[
            {
                path: '/',
                name: 'MainInfo',
                component: MainInfo
            },
            {
                path: '/RoomInfoManager',
                name: 'RoomInfoManager',
                component: RoomInfoManager
            },
            {
                path: '/History',
                name: 'History',
                component: History
            }
        ]
    },
    {
        path: '/Login',
        name: 'Login',
        component: Login
    }
]

export default routes;